<%--
  Created by IntelliJ IDEA.
  User: 86158
  Date: 2020/7/29
  Time: 15:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>Customer</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../layui/css/layui.css" media="all">
    <!--注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的-->
    <style>
        .client-input {
            width: 80%;
        }

        #save-client {
            margin-top: 15px;
        }
    </style>
</head>
<body>

<form id="save-client" class="layui-form" lay-filter="example">
    <div class="layui-form-item">
        <label class="layui-form-label">CID</label>
        <div class="layui-input-block">
            <input name="cid" class="layui-input client-input" type="text"
           value="${customer.cid}"       autocomplete="off" readonly>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">用户姓名</label>
        <div class="layui-input-block">
            <input name="cusername" class="layui-input client-input" type="text" autocomplete="off"
                   value="${customer.cusername}"      readonly>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">密码</label>
        <div class="layui-input-block">
            <input name="cpassword" class="layui-input client-input" type="password"
                   value="${customer.cpassword}"   autocomplete="off" readonly>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">公司名称</label>
        <div class="layui-input-block">
            <input name="cnickname" class="layui-input client-input" type="text" autocomplete="off"
                   value="${customer.cnickname}"   readonly>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">账户金额</label>
        <div class="layui-input-block">
            <input name="cmoney" class="layui-input client-input" type="number" autocomplete="off"
                   value="${customer.cmoney}"  readonly>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">公司地址</label>
        <div class="layui-input-block">
            <input name="caddress" class="layui-input client-input" type="text" autocomplete="off"
                   value="${customer.caddress}"     readonly>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block">
            <input name="cstate" title="正常" type="radio" checked="" disabled value=1>
            <input name="cstate" title="停用" type="radio" disabled value=0>
        </div>
    </div>

</form>

<script src="https://cdn.bootcdn.net/ajax/libs/layui/2.5.6/layui.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<%--<script>--%>
<%--    layui.use(['form', 'jquery', 'layer'], function () {--%>
<%--        var form = layui.form--%>
<%--            , $ = layui.jquery--%>
<%--            , layer = layui.layer--%>

<%--        var url = window.location.href--%>
<%--        var id = url.substring(35);--%>

<%--        //表单赋值--%>
<%--        $.get("/BYSSM_war_exploded/selectById" + cid, function (obj) {--%>
<%--            form.val('example', obj);--%>
<%--        })--%>

<%--    });--%>
<%--</script>--%>

</body>
</html>
